$.ajax({
    type: 'GET',
    url: "http://47.93.18.177:8081/mp/query?mp_id="+custId,
    dataType: 'json',
    data: {},
    success: function(data){
        console.log(data)
        $.each(data,function (idx, data) {
            console.log(data.activity_info)
            var str = ' <p class="activity" onclick=""><a>活动信息</a></p><p class="activity"><a href="'+data.activity_page+'">活动页面</a></p><p class="activity"><a href="'+data.price_show+'">报价展示</a></p> <p class="activity"><a href="'+data.official_website+'">官网首页</a></p>';
            $('.box_Packing').append(str);
            $(".activity").click(function(){
                alert(data.activity_info)
            });
        })
    },
    error:function(data) {
        console.log(data.msg);
    }
});